package com.bbc.yuntun;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * SpringBoot启动程序
 *
 * @author wl
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
public class YuntunApplication {

    /**
     * 启动应用的主方法
     *
     * @param args 命令行参数
     */
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(YuntunApplication.class, args);
        /*String[] beanDefinitionNames = run.getBeanDefinitionNames();
        for (String beanDefinitionName : beanDefinitionNames) {
            System.out.println("beanDefinitionName = " + beanDefinitionName);
        } */
        System.out.println("(♥◠‿◠)ﾉﾞ  云吞短视频管理平台启动成功   ლ(´ڡ`ლ)ﾞ  ");
    }

}
